typedef struct Ftp Ftp;
Ftp* ftp_connect(const char *host);
int ftp_list(Ftp*, const char *path);
int ftp_retr(Ftp*, const char *path, off_t offset);
int ftp_close(Ftp*, int data_fd);
void ftp_destroy(Ftp*);
